<%@ page import="java.util.List" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
	<!--[if IE 6]><div id="ie6" class="ie"><![endif]-->
	<!--[if IE 7]><div id="ie7" class="ie"><![endif]-->
	<%-- <tiles:insertAttribute name="header" />
	<div class="main fix">
		<tiles:insertAttribute name="content" />
	</div>
	<tiles:insertAttribute name="footer" /> --%>
	<!--[if lte IE 7]></div><![endif]-->
	
		<%-- <form action="http://10.10.3.142:8080/20160115_gateway_liuzhangpeng/Trans/MobileClientAction.do" name="returnfunc" id= "returnfunc" method="post"> --%>
		<form     action="
        <c:choose>
    <c:when test="${sessionScope.gopay_webtest_URL_Name=='自定义'}">
    ${sessionScope.gopay_webtest_URL.dom}
    </c:when>
    <c:otherwise>
		${sessionScope.gopay_webtest_URL.dom}${sessionScope.gopay_webtest_URL.wapPay}
		    </c:otherwise>
    </c:choose>" name="returnfunc" id= "returnfunc" method="post">
		<input type="hidden" id="tranCode" name="tranCode" value="${payInfo.tranCode}" size="50"/>
		<input type="hidden" id="merchantID" name="merchantID" value="${payInfo.merchantID}" size="50"/>
		<input type="hidden" id="merOrderNum" name="merOrderNum" value="${payInfo.merOrderNum}" size="50"/>
		<input type="hidden" id="tranAmt" name="tranAmt" value="${payInfo.tranAmt}" size="50"/>
		<input type="hidden" id="ticketAmt" name="ticketAmt" value="${payInfo.ticketAmt}" size="50"/>
		<input type="hidden" id="feeAmt" name="feeAmt" value="${payInfo.feeAmt}" size="50"/>
		
		<input type="hidden" id="orgtranDateTime" name="orgtranDateTime" value="${payInfo.tranDateTime}" size="50"/>
		<input type="hidden" id="gopayServerTime" name="gopayServerTime" value="${payInfo.tranDateTime}" size="50"/>
		<input type="hidden" id="orgOrderNum" name="orgOrderNum" value="${payInfo.orgOrderNum}" size="50"/>
		<input type="hidden" id="authID" name="authID" value="${payInfo.authID}" size="50"/>
		<input type="hidden" id="orgtranAmt" name="orgtranAmt" value="${payInfo.orgtranAmt}" size="50"/>
				
		<input type="hidden" id="currencyType" name="currencyType" value="${payInfo.currencyType}" size="50"/>
		<input type="hidden" id="merURL" name="merURL" value="${payInfo.merURL}" size="50" />
		<input type="hidden" id="tranDateTime" name="tranDateTime" value="${payInfo.tranDateTime}" size="50"/>
		<input type="hidden" id="virCardNoIn" name="virCardNoIn" value="${payInfo.virCardNoIn}" size="50"/>
		<input type="hidden" id="tranIP" name="tranIP" value="${payInfo.tranIP}" size="50"/>
		<input type="hidden"  id="msgExt" name="msgExt" value="${payInfo.msgExt}" size="50"/>
		
		<input type="hidden" id="isLocked" name="isLocked" value="${payInfo.isLocked}" size="50" />
		<input type="hidden" id="virCardNo" name="virCardNo" value="${payInfo.virCardNo}" size="50"/>
		<input type="hidden" id="orgTxnStat" name="orgTxnStat" value="${payInfo.orgTxnStat}" size="50"/>
		<input type="hidden" id="orgTxnType" name="orgTxnType" value="${payInfo.orgTxnType}" size="50"/>
		<input type="hidden"  id="customerEMail" name="customerEMail" value="${payInfo.customerEMail}" size="50"/>

		<input type="hidden"  id="bankCode" name="bankCode" value="${payInfo.bankCode}" size="50"/>
		<input type="hidden"  id="userType" name="userType" value="${payInfo.userType}" size="50"/>
		
		<input type="hidden"  id="emailAddr" name="emailAddr" value="${payInfo.emailAddr}" size="50"/>
		<input type="hidden"  id="merchantEncode" name="merchantEncode" value="${payInfo.merchantEncode}" size="50"/>
		<input type="hidden"  id="signValue" name="signValue" value="${payInfo.signValue}" size="50"/>
		
		
		<input type="hidden"  id="version" name="version" value="${payInfo.version}" size="50"/>
		<input type="hidden"  id="charset" name="charset" value="${payInfo.charset}" size="50"/>
		<input type="hidden"  id="language" name="language" value="${payInfo.language}" size="50"/>
		<input type="hidden"  id="signType" name="signType" value="${payInfo.signType}" size="50"/>
		<input type="hidden"  id="backgroundMerUrl" name="backgroundMerUrl" value="${payInfo.backgroundMerUrl}" size="50"/>
		<input type="hidden"  id="frontMerUrl" name="frontMerUrl" value="${payInfo.frontMerUrl}" size="50"/>
		<input type="hidden"  id="goodsName" name="goodsName" value="${payInfo.goodsName}" size="50"/>
		<input type="hidden"  id="goodsDetail" name="goodsDetail" value="${payInfo.goodsDetail}" size="50"/>
		<input type="hidden"  id="merRemark1" name="merRemark1" value="${payInfo.merRemark1}" size="50"/>
		<input type="hidden"  id="merRemark2" name="merRemark2" value="${payInfo.merRemark2}" size="50"/>
		<input type="hidden"  id="buyerName" name="buyerName" value="${payInfo.buyerName}" size="50"/>
		<input type="hidden"  id="buyerContact" name="buyerContact" value="${payInfo.buyerContact}" size="50"/>
		<input type="hidden"  id="payMethod" name="payMethod" value="${payInfo.payMethod}" size="50"/>
		<input type="hidden"  id="remark" name="remark" value="${payInfo.remark}" size="50"/>
		<input type="hidden"  id="isRepeatSubmit" name="isRepeatSubmit" value="${payInfo.isRepeatSubmit}" size="50"/>
		<input type="hidden"  id="buyerRealMobile" name="buyerRealMobile" value="${payInfo.buyerRealMobile}" size="50"/>
		<input type="hidden"  id="buyerRealBankAcctNum" name="buyerRealBankAcctNum" value="${payInfo.buyerRealBankAcctNum}" size="50"/>
		<input type="hidden"  id="buyerRealCertNo" name="buyerRealCertNo" value="${payInfo.buyerRealCertNo}" size="50"/>
		<input type="hidden"  id="buyerRealName" name="buyerRealName" value="${payInfo.buyerRealName}" size="50"/>

	</form>
<script>
	document.returnfunc.submit();
</script> 